package com.seari.mapper;

import java.util.List;
import com.seari.bean.DeviceType;
import com.seari.pojo.QueryDeviceType;
import org.apache.ibatis.annotations.Param;

public interface DeviceTypeMapper
{
	public int addDeviceType(@Param("deviceType")DeviceType deviceType,@Param("line")String line);
	public Integer getDeviceIdByName(@Param("deviceName") String deviceName,@Param("line")String lineID);
	public List<DeviceType> getDeviceTypeByParams(QueryDeviceType qdt);
    public int getDeviceTypeCount(QueryDeviceType qdt);
    public int deleteDeviceType(@Param("array")String[] ArrayIds,@Param("line")String line);    
}
